package cn.tellsea.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务提供者
 *
 * @author Tellsea
 * @date 2021/12/20
 */
@RestController
public class MessageController {

    @GetMapping("/message/{message}")
    public String printMsg(@PathVariable String message) {
        return "[服务提供者] : " + message;
    }
}
